package com.coin900.coin.server.fu.form;


import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author shui
 * @create 2017-11-21
 **/
public class PwdForm {


    /**
     * 密码
     */
    @NotEmpty(message = "旧密码不能为空")
    private String oldPassword;



    /**
     * 密码
     */
    @NotEmpty(message = "二次输入密码不能为空")
    private String rePassword;



    @NotEmpty(message = "二次输入密码不能为空")
    private String newPassword;

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public String getRePassword() {
        return rePassword;
    }

    public void setRePassword(String rePassword) {
        this.rePassword = rePassword;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }
}
